import { AxiosRequestConfig } from 'axios'
import serverApiUtils from '@/core/utils/serverApiUtils'
import lodash from 'lodash'
import { R } from '@/components/axios/interface'
import http from '@/components/axios/http'
import PageResponse from '@/core/framework/types/model/response/PageResponse'
import BaseAdminServerApi from '@/core/framework/serverapi/BaseAdminServerApi'
import CfgConfigResponse from '@/core/config/generated/types/model/response/CfgConfigResponse'
import configAdminApiConfig from '@/core/config/generated/apiconfig/configAdminApiConfig'

const moduleApiConfig = configAdminApiConfig.cfgConfig

class CfgConfigAdminServerApi extends BaseAdminServerApi<string, CfgConfigResponse> {}

const adminServerApi = new CfgConfigAdminServerApi({ adminApiConfig: moduleApiConfig })

export default adminServerApi
